package com.wslds.bean;

import java.util.Date;

import javax.persistence.Table;

import com.wslds.base.StatableBean;
import com.wslds.base.dao.BaseBean;

@Table(name="article")
public class Article extends BaseBean implements StatableBean {

	private Long id;
	private String content;
	private Date createDate;
	private Date modDate;
	private String stat;
	private String title;
	private String source;
	private Long typeId;
	private Long viewSum;

	public void setId( Long id ){
		this.id = id;
	}
	public Long getId(){
		return this.id;
	}
	public void setContent( String content ){
		this.content = content;
	}
	public String getContent(){
		return this.content;
	}
	public void setCreateDate( Date createDate ){
		this.createDate = createDate;
	}
	public Date getCreateDate(){
		return this.createDate;
	}
	public void setModDate( Date modDate ){
		this.modDate = modDate;
	}
	public Date getModDate(){
		return this.modDate;
	}
	public void setStat( String stat ){
		this.stat = stat;
	}
	public String getStat(){
		return this.stat;
	}
	public void setTitle( String title ){
		this.title = title;
	}
	public String getTitle(){
		return this.title;
	}
	public void setSource( String source ){
		this.source = source;
	}
	public String getSource(){
		return this.source;
	}
	public void setTypeId( Long typeId ){
		this.typeId = typeId;
	}
	public Long getTypeId(){
		return this.typeId;
	}
	public void setViewSum( Long viewSum ){
		this.viewSum = viewSum;
	}
	public Long getViewSum(){
		return this.viewSum;
	}
}